<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script typet="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
    <script>

        //自定义JSON数据格式(java中的对象)
        var person = {"name": "tom", "sex": "女", "age": 12};
        console.log(person);

        //数组格式
        var persons = {"perSon": [{"name": "tom", "sex": "女", "age": 12}, {"name": "jake", "sex": "男", "age": 22},]}
        console.log(persons);

        //集合格式
        var list = [{"name": "老五", "sex": "女", "age": 12}, {"name": "会长", "sex": "男", "age": 12}];
        console.log(list);
    </script>
</head>
<body>


</body>
</html>